package com.fz.song.web.service;

import com.fz.song.web.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 宋发准
 * @since 2021-11-01
 */
public interface IUserService extends IService<User> {

    User getByIdCard(String idCard);

    Boolean transferOptimistic(int fromId, int toId, int value);

    Boolean transferPessimism(int fromId, int toId, int value);

}
